package cn.dlc.com.config;

/**
 * 单纯的配置对象
 * @author Administrator
 *
 */
public class Config{
	
	// 配置信息
	private String dbUrl;
	private String username;
	private String password;
	private String driverClass;
	
	public String getDbUrl() {
		return dbUrl;
	}
 
	public void setDbUrl(String dbUrl) {
		this.dbUrl = dbUrl;
	}
 
	public String getUsername() {
		return username;
	}
 
	public void setUsername(String username) {
		this.username = username;
	}
 
	public String getPassword() {
		return password;
	}
 
	public void setPassword(String password) {
		this.password = password;
	}
 
	public String getDriverClass() {
		return driverClass;
	}
 
	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}
	
	@Override
	public String toString() {
		return "Config:{dbUrl:" + this.dbUrl +
				", username:" + this.username + 
				", password:" + this.password + 
				", driverClass:" + this.driverClass + "}";
	}
}
